package com.cy.bfzcommons.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cy.bfzcommons.pojo.User;
import org.apache.ibatis.annotations.Select;

/**
 * 用户
 */

public interface UserMapper extends BaseMapper<User> {


    User selectByEmail(String email);

    @Select("select user_name from user where user_id = #{userId}")
    String selectUserName(Integer userId);

}

